/**
 * \file dunLoader.h
 * \brief Loads the *.dj file format
 * \author Panos Baroudjian
**/

#ifndef DUNLOADER_H_
# define DUNLOADER_H_

# include <stdio.h>
# include <stdlib.h>

typedef struct s_loader *t_loader;
struct s_loader
{
	FILE* f;
	size_t line;
};

t_loader loaderCreate(		char* 		path);


char* loaderGetNextLine(	t_loader	data, 
							char		out[], 
							size_t 		max);

#endif /* !DUNLOADER_H_ */
